

var a = 1;
var b = 2;
var c = a + b;

function addA(){
    a++;
    return a;
}

function addB(){
    b++;
    return b;
}

function getC(){
    c = a + b;
    return c;
}


// 在模块暴露时,进行重命名 (暴露的是重命名后的变量和方法)
// export {a,b,c,addA,addB,getC}
export {
    a as A,
    b as B,
    c as C,
    addA,
    addB,
    getC,
}

